from django.contrib import admin

from main.models import DynamicInfo
from main.models import News
from main.models import SchoolDisplay
from main.models import PushInfos
class NewsAdmin(admin.ModelAdmin):
	fieldsets = [
        (None, {
         'fields': ['title', ]
         }),
        ('Image', {
         'fields': ['image']
         }),
        ('Content', {
         'fields': ['publish_time', 'text'],
         'classes': ['collapse'],
         })

    ]


admin.site.register(News,NewsAdmin)
admin.site.register(SchoolDisplay)
admin.site.register(DynamicInfo)
admin.site.register(PushInfos)
# Register your models here.
